<%--
  Created by IntelliJ IDEA.
  User: deer
  Date: 2021/4/28
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>jsp+javabean+servelet提交</title>
</head>
<body>
<h1>按下列格式要求，输入两个整数：</h1><br>
<form action="caculate" method="post">
    复数一<hr><br>
    实部：<input name="realPart1"/><br>
    虚部：<input name="imagePart1"/><br>
    选择运算符：
    <select name="operation">
        <option value="+">+</option>
        <option value="-">-</option>
        <option value="*">*</option>
        <option value="/">/</option>
    </select><br>
    复数二<hr><br>
    实部：<input name="realPart2"/><br>
    虚部：<input name="imagePart2"/><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
